Package | nictiz.fhir.nl.r4.profilingguidelines |
Type | StructureDefinition |
Id | Id |
FHIR Version | R4 |
Source | https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.profilingguidelines@0.9.0&canonical=http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions |
Url | http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions |
Status | draft |
Name | ProfilingGuidelinesR4StructureDefinitions |
Title | StructureDefinition conformance to FHIR Profiling Guidelines for FHIR R4 |
Experimental | True |
Realm | nl |
Description | Conformance profile to check profiles for conformance to the [Nictiz profiling guidelines for FHIR R4](https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4). This profile contains the common rules for all profiles. Checks for specific situations (extensions, different layers, etc.) are implemented using derived profiles. |
Purpose | For QA on the StructureDefinitions created for R4. |
Copyright | Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise. |
Type | StructureDefinition |
Kind | resource |
StructureDefinition | |
http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-NlCore | nl-core StructureDefinition conformance to FHIR Profiling Guidelines for FHIR R4 |
http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-Zib | Zib StructureDefinition conformance to FHIR Profiling Guidelines for FHIR R4 |
No resources found
{
"resourceType" : "StructureDefinition",
"id" : "ProfilingGuidelinesR4-StructureDefinitions",
"url" : "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions",
"name" : "ProfilingGuidelinesR4StructureDefinitions",
"title" : "StructureDefinition conformance to FHIR Profiling Guidelines for FHIR R4",
"status" : "draft",
"experimental" : true,
"publisher" : "Nictiz",
"contact" : [
{
"name" : "Nictiz",
"telecom" : [
{
"system" : "url",
"value" : "https://www.nictiz.nl",
"use" : "work"
}
]
}
],
"description" : "Conformance profile to check profiles for conformance to the [Nictiz profiling guidelines for FHIR R4](https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4).\r\n\r\nThis profile contains the common rules for all profiles. Checks for specific situations (extensions, different layers, etc.) are implemented using derived profiles.",
"purpose" : "For QA on the StructureDefinitions created for R4.",
"copyright" : "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
"fhirVersion" : "4.0.1",
"mapping" : [
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "workflow",
"uri" : "http://hl7.org/fhir/workflow",
"name" : "Workflow Pattern"
},
{
"identity" : "w5",
"uri" : "http://hl7.org/fhir/fivews",
"name" : "FiveWs Pattern Mapping"
},
{
"identity" : "iso11179",
"uri" : "http://metadata-standards.org/11179/",
"name" : "ISO 11179"
},
{
"identity" : "objimpl",
"uri" : "http://hl7.org/fhir/object-implementation",
"name" : "Object Implementation Information"
}
],
"kind" : "resource",
"abstract" : false,
"type" : "StructureDefinition",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/StructureDefinition",
"derivation" : "constraint",
"differential" : {
"element" : [
{
"id" : "StructureDefinition",
"path" : "StructureDefinition",
"constraint" : [
{
"key" : "sd-pg-01",
"severity" : "warning",
"human" : "The canonical URL should conform to the profiling guidelines",
"expression" : "StructureDefinition.url = 'http://nictiz.nl/fhir/StructureDefinition/' + StructureDefinition.id",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
},
{
"key" : "sd-pg-12",
"severity" : "error",
"human" : "StuctureDefinition.id should start 'ext-' if it defines an Extension",
"expression" : "StructureDefinition.type = 'Extension' implies StructureDefinition.id.startsWith('ext-')",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
},
{
"key" : "sd-pg-07",
"severity" : "warning",
"human" : "The name of the StructureDefinition should conform to the profiling guidelines",
"expression" : "StructureDefinition.name.substring(0, 1).matches('[A-Z]') and StructureDefinition.name.substring(1) = StructureDefinition.id.substring(1).replace('-','').replace('.', '')",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
},
{
"key" : "sd-pg-08",
"severity" : "warning",
"human" : "The title of the StructureDefinition should conform to the profiling guidelines",
"expression" : "StructureDefinition.title = StructureDefinition.id.replace('-',' ')",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
},
{
"key" : "sd-pg-10",
"severity" : "error",
"human" : "When a mapping is defined on an element, it should be declared in the profile.",
"expression" : "differential.element.mapping.identity.subsetOf(%resource.mapping.identity)",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
}
]
},
{
"id" : "StructureDefinition.title",
"path" : "StructureDefinition.title",
"min" : 1
},
{
"id" : "StructureDefinition.publisher",
"path" : "StructureDefinition.publisher",
"min" : 1,
"fixedString" : "Nictiz"
},
{
"id" : "StructureDefinition.contact",
"path" : "StructureDefinition.contact",
"min" : 1,
"max" : "1"
},
{
"id" : "StructureDefinition.contact.name",
"path" : "StructureDefinition.contact.name",
"min" : 1,
"fixedString" : "Nictiz"
},
{
"id" : "StructureDefinition.contact.telecom",
"path" : "StructureDefinition.contact.telecom",
"min" : 1,
"max" : "1",
"patternContactPoint" : {
"system" : "url",
"value" : "https://www.nictiz.nl",
"use" : "work"
}
},
{
"id" : "StructureDefinition.description",
"path" : "StructureDefinition.description",
"min" : 1
},
{
"id" : "StructureDefinition.copyright",
"path" : "StructureDefinition.copyright",
"min" : 1,
"fixedMarkdown" : "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise."
},
{
"id" : "StructureDefinition.fhirVersion",
"path" : "StructureDefinition.fhirVersion",
"min" : 1,
"fixedCode" : "4.0.1"
},
{
"id" : "StructureDefinition.mapping.uri",
"path" : "StructureDefinition.mapping.uri",
"min" : 1
},
{
"id" : "StructureDefinition.mapping.name",
"path" : "StructureDefinition.mapping.name",
"min" : 1
},
{
"id" : "StructureDefinition.baseDefinition",
"path" : "StructureDefinition.baseDefinition",
"min" : 1
},
{
"id" : "StructureDefinition.snapshot",
"path" : "StructureDefinition.snapshot",
"max" : "0"
},
{
"id" : "StructureDefinition.differential.element",
"path" : "StructureDefinition.differential.element",
"constraint" : [
{
"key" : "sd-pg-11",
"severity" : "error",
"human" : "If an alias exists and this element is not the root element, mapping.map needs to be present.",
"expression" : "(alias.exists() and id.indexOf('.') != -1) implies mapping.map.exists()",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
},
{
"key" : "sd-pg-16",
"severity" : "error",
"human" : "Patterns should be used instead of fixed values (except for extension definitions)",
"expression" : "path.lower().endsWith('extension.url').not() implies fixed.exists().not()"
}
]
},
{
"id" : "StructureDefinition.differential.element.sliceName",
"path" : "StructureDefinition.differential.element.sliceName",
"constraint" : [
{
"key" : "sd-pg-13",
"severity" : "warning",
"human" : "Slice names should be camelCased starting with a lowercase letter.",
"expression" : "$this.substring(0, 1).matches('[a-z]')",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
}
]
},
{
"id" : "StructureDefinition.differential.element.pattern[x]",
"path" : "StructureDefinition.differential.element.pattern[x]",
"constraint" : [
{
"key" : "sd-pg-15",
"severity" : "warning",
"human" : "Quantity.unit should not be profiled, as this is a context dependant human readable display",
"expression" : "$this.unit.exists().not()"
}
]
},
{
"id" : "StructureDefinition.differential.element.binding",
"path" : "StructureDefinition.differential.element.binding",
"constraint" : [
{
"key" : "sd-pg-05",
"severity" : "error",
"human" : "If a ConceptMap is defined for a binding, it should be mentioned in the description.",
"expression" : "valueSet.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap').exists() implies description.contains('ConceptMap')",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
}
]
},
{
"id" : "StructureDefinition.differential.element.mapping.comment",
"path" : "StructureDefinition.differential.element.mapping.comment",
"min" : 1
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.